import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const usetlStore = defineStore('tl', () => {
  
    //定义状态
    var tasklist = ref([]);
    
   let tiao = (payload) => {
    tasklist.value = payload
   }
  
  
  
  
    //暴露模块内的数据和方法
    return {
        tasklist,
        tiao
    }
    
  })